package cate.game.activity.newherotrial.data;

import cate.game.play.part.BattleHero;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("英雄试炼候选英雄vo")
public class HeroTrialOptionHeroVO {
    @NoteField("英雄唯一id")
    public String heroUid;

    @NoteField("英雄id")
    public int heroTid;

    @NoteField("等级")
    public int level;

    @NoteField("战力")
    public long power;

    public static HeroTrialOptionHeroVO of(BattleHero battleHero) {
        HeroTrialOptionHeroVO vo = new HeroTrialOptionHeroVO();
        vo.heroUid = battleHero.hero.uid;
        vo.heroTid = battleHero.hero.tid;
        vo.level = battleHero.hero.level;
        vo.power = battleHero.power;
        return vo;
    }
}
